<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <css file="__STATIC__/css/base.css"/>
            <css file="__PUBLIC__/style1/css/rbac.css"/>
            <jquery/>
            <js file="__PUBLIC__/js/rbac.js"/>
    </head>
    <body style="padding:10px;">
        <div class="path">
            <strong>您现在的位置：</strong>
            权限配置
        </div>
        <form action="__CONTROL__/access_set" method="post">
            <input type="hidden" name="rid" value="{$rid}"/>
            <div class="rbac">
                <list from="$node" name="$app">
                    <div class="app">
                        <h3>
                            <strong>
                                <input type="checkbox" <empty value="$app.access"><noempty> checked="checked" </empty>name="nid[]" value="{$app.nid}_{$app.level}" level="1"/>
                                    {$app.title}({$app.name})
                            </strong>

                        </h3>
                        <list from="$app.node" name="$control">
                            <dl>
                                <dt>
                                    <strong>
                                        <input type="checkbox" <empty value="$control.access"><noempty> checked="checked" </empty> name="nid[]" value="{$control.nid}_{$control.level}" level="2"/>
                                            {$control.title}({$control.name})
                                    </strong>

                                </dt>
                                <list from="$control['node']" name="$method">
                                    <dd>

                                        <strong>
                                            <input type="checkbox" <empty value="$method.access"><noempty> checked="checked" </empty> name="nid[]" value="{$method.nid}_{$method.level}" level="3"/> 
                                                {$method.title}({$method.name})
                                        </strong>
                                    </dd>
                                </list>
                            </dl>
                        </list>
                        <div style="clear:both;"></div>
                    </div>
                </list>
                <input type="submit" class="submit" value="修改权限"/>
            </div>
        </form>
    </body>
</html>
